package com.Customer.service;

import com.Customer.entity.Customer;

import java.util.List;

/**
 * 客户信息 业务逻辑接口
 */
public interface CustomerService {

    /**
     * 添加客户信息
     * @param customer
     * @return
     */
    boolean doAddCustomerInfo(Customer customer);

    /**
     * 修改客户信息
     * @param customer
     * @return
     */
    boolean doModifyCustomerInfo(Customer customer);

    /**
     * 删除客户信息
     * @param customer
     * @return
     */
    boolean doDeleteCustomerInfo(Customer customer);

    /**
     * 获取客户信息
     * @param customer
     * @return
     */
    Customer doGetCustomerInfo(Customer customer);

    /**
     * 获取客户列表
     * @return
     */
    List<Customer> doGetCustomerInfoList();

    /**
     * 查询客户列表
     * @param customer
     * @return
     */
    List<Customer> doQueryCustomerInfoList(Customer customer);

}